package com.sanweibook.jhook.biz.sys;

import com.sanweibook.jhook.dal.model.sys.SysMenu;
import com.sanweibook.jhook.dal.page.Page;

import java.util.List;

/**
* Created by twg on 17/3/16.
*/
public interface SysMenuService {

    void delete(SysMenu sysMenu);

    void deleteById(Long id);

    void deletedByIds(List<Long> ids);

    SysMenu get(SysMenu sysMenu);

    SysMenu getById(Long id);

    void save(SysMenu sysMenu);

    void batchSave(List<SysMenu> sysMenu);

    void update(SysMenu sysMenu);

    int queryCount(SysMenu sysMenu);

    List<SysMenu> queryAll(SysMenu sysMenu);

    List<SysMenu> queryByIds(List<Long> ids);

    Page<SysMenu> queryByPages(SysMenu sysMenu);
}